package com.ddsso.auth.web.vo;

/**
 * @author zdd
 * @package com.ddsso.auth.web.vo
 * @Time Created by zdd on 2016/11/2.
 * @description To-do
 */
public class FrontResponse {
    /**
     * 响应码
     */
    private String code;

    /**
     * 响应结果中文描述
     */
    private String message = "";
    private String msg = "";

    /**
     * 响应数据
     */
    private Object data;

    public String getCode() {
        return code;
    }

    public FrontResponse setCode(String code) {
        this.code = code;
        return this;
    }

    public String getMessage() {
        return message;
    }

    public String getMsg() {
        return msg;
    }

    public FrontResponse setMessage(String message) {
        this.message = message;
       this.msg=message;
        return this;
    }

    public FrontResponse setMsg(String msg) {

        this.msg = msg;
        this.message=msg;
        return this;
    }

    public Object getData() {
        return data;
    }

    public FrontResponse setData(Object data) {
        this.data = data;
        return this;
    }

}
